package rlm;

import javax.swing.JComponent;

public class ComponentSetting {

	private final JComponent first, second;
	private final Placement placement;
	
	/**
	 * Set the relation between component 1 to component 2
	 * 
	 * TODO:: should I set only top\right relations, or both?
	 */
	public ComponentSetting(JComponent first, Placement p, JComponent second ){
		this.first = first;
		this.second = second;
		this.placement = p;
	}

	public JComponent getFirst() {
		return first;
	}

	public JComponent getSecond() {
		return second;
	}

	public Placement getPlacement() {
		return placement;
	}
	
}
